package com.adnaan.backend.common.exception;

import lombok.Getter;

/**
 * author: adnaan
 * create: 2025-01-27 14:34
 * Description:
 */
@Getter
public class ServicesException extends RuntimeException {

    private int code = 500;

    public ServicesException(String message) {
        super(message);
    }

    public ServicesException(String message, Integer code) {
        super(message);
        this.code = code;
    }
}
